﻿/// <reference path="../../../Common/JQ/jquery-1.10.2.min.js" />
/// <reference path="../../../Common/EasyUI/jquery.easyui.min.js" />
/// <reference path="../../../Common/MyJS/MyWebsite.js" />
/// <reference path="../../../Common/EasyUI/my/form.js" />

var g_pageForm = null;
//文档加载完毕之后触发的事件
$(document).ready(function () {
    pageInitial();
    g_pageForm = new EasyUIForm(document.forms[0]);
});

function pageInitial() {
    $("#div_page").panel({
        border: false,
        fit: true
    });
};

function btn_saveClick() {
    /// <summary>保存按钮单击事件</summary>
    if (g_pageForm) g_pageForm.save();
};

function btn_saveAsNewClick() {
    /// <summary>另存为新记录按钮单击事件</summary>
};